//
//  RankingView.h
//  Dispatch
//
//  Created by hyeyeon on 14. 1. 14..
//  Copyright (c) 2014년 hyeyeon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ListCell.h"
#import "AppDelegate.h"
#import "EGORefreshTableHeaderView.h"

@interface RankingView : UIView <UITableViewDataSource, UITableViewDelegate, EGORefreshTableHeaderDelegate>
{
    AppDelegate *appDelegate;
    
    UITableView *mTableView;
    CGRect myRect;
    
    UIButton *manButton;
    UIButton *womanButton;
    UILabel *manLabel;
    UILabel *womanLabel;
    UIButton *topMoveButton;
    NSInteger currentPageM;
    NSInteger currentPageF;
    BOOL isEndM;
    BOOL isEndF;
    
    //네트워크
    BOOL duringNetwork;
    
    //스크롤잡을라고
	EGORefreshTableHeaderView *_refreshHeaderView;
	BOOL _reloading;
    
    UIView *activieiBGView;
    UIActivityIndicatorView *activityView;
}
@property (nonatomic, strong) NSMutableData *responseData;
@property (nonatomic, retain) NSMutableArray *maleItemArray;
@property (nonatomic, retain) NSMutableArray *femaleItemArray;
@property (nonatomic, retain) NSString *imageURL;

-(void)appearStarListToID:(NSInteger)index;

//다음 페이지 로드
-(void)loadNextPage;
@end
